package com.coldchain.admin.config.service;

import com.coldchain.admin.config.entity.Area;
import com.baomidou.mybatisplus.extension.service.IService;
import com.coldchain.vo.CityVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fangliai
 * @since 2018-11-12
 */
public interface IAreaService extends IService<Area> {

    /**
     * 开放城市区域
     * @param params
     * @throws Exception
     */
    public void openCity(String params)throws Exception;


    /**
     * 禁用城市
     * @param ids
     * @throws Exception
     */
    public void closeCity(Integer... ids)  throws Exception;


    /**
     * 获取所有的城市
     * @param params
     * @return
     */
    public List<Map<String,Object>> selectCityVo(Map<String,Object> params);
}
